<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	template="/WEB-INF/jsf/template.xhtml">

	<ui:define name="content">
		<h:form prependId="false">
			<p:commandButton image="back" ajax="false" immediate="true" style="margin-right:20px;" value="#{persistentloginsmsgs['navigation.back']}" action="/jsf/persistentlogins/listPersistentLoginss.xhtml"/>
		
			<p:panel header="#{persistentloginsmsgs['persistentlogins.title']} Details" style="margin-top:10px">
				<p:messages />
				<h:panelGrid id="detail" columns="2" styleClass="grid" columnClasses="label,value">
					<h:outputText value="#{persistentloginsmsgs['persistentlogins.series.title']}:" />
							<h:outputText value="#{PersistentLoginsComponent.persistentlogins.series}"/>
					<h:outputText value="#{persistentloginsmsgs['persistentlogins.username.title']}:" />
							<h:outputText value="#{PersistentLoginsComponent.persistentlogins.username}"/>
					<h:outputText value="#{persistentloginsmsgs['persistentlogins.token.title']}:" />
							<h:outputText value="#{PersistentLoginsComponent.persistentlogins.token}"/>
					<h:outputText value="#{persistentloginsmsgs['persistentlogins.lastused.title']}:" />
							<h:outputText value="#{PersistentLoginsComponent.persistentlogins.lastUsed}" converter="dateTimeConverterForCalendar" />
         			<h:panelGroup>
         				<p:commandButton image="delete" ajax="false" style="margin-right:20px;" value="#{persistentloginsmsgs['navigation.delete']}" action="#{PersistentLoginsComponent.deletePersistentLogins(PersistentLoginsComponent.persistentlogins.series)}"/>
         			</h:panelGroup>
				</h:panelGrid>
			</p:panel>

		</h:form>
	</ui:define>
</ui:composition>